In Crispy Plotter you enter only the right side of a function equation.
For example, when you enter <span class="example">2*x</span>, the complete
function equation is f(x)=2*x.
You can use numbers, braces, constants, parameters and functions as
operands.
<h3>Numbers</h3>
<p>
When entering non-integer numbers you have to use . as the decimal
separator. Numbers can be specified in generic format
(for example <span class="example">4.4</span>) or in scientific notation
(for example <span class="example">44E-1</span> = 44 * 10<sup>-1</sup>).
Leading zeros can be omitted (for example <span class="example">.73</span>).
</p>
<h3>Operators</h3>
<p>
You can use the following operators. Note that the modulo operator works
both for integer and non-integer values. For example
<span class="example">3.4 % 1.3</span> would return 0.8.
</p>
<table class="fr">
<tbody>
	<tr class="fr">
		<th class="fr">Priority</th>
		<th class="fr">Symbol</th>
		<th class="fr">Name</th>
		<th class="fr">Type</th>
	</tr>
	<tr class="fr">
		<td class="fr">1.</td>
		<td class="fr">^</td>
		<td class="fr">Power</td>
		<td class="fr">Binary</td>
	</tr>
	<tr class="fr">
		<td class="fr">2.</td>
		<td class="fr">*</td>
		<td class="fr">Times</td>
		<td class="fr">Binary</td>
	</tr>
		<tr class="fr">
		<td class="fr">2.</td>
		<td class="fr">/</td>
		<td class="fr">By</td>
		<td class="fr">Binary</td>
	</tr>
	<tr class="fr">
		<td class="fr">2.</td>
		<td class="fr">%</td>
		<td class="fr">Modulo</td>
		<td class="fr">Binary</td>
	</tr>
	<tr class="fr">
		<td class="fr">3.</td>
		<td class="fr">+</td>
		<td class="fr">Plus</td>
		<td class="fr">Binary/Sign</td>
	</tr>
	<tr class="fr">
		<td class="fr">3.</td>
		<td class="fr">-</td>
		<td class="fr">Minus</td>
		<td class="fr">Binary/Sign</td>
	</tr>
</tbody>
</table>
<h3>Braces</h3>
<p>
Using braces works just like in mathematical expressions. When entering
complex equations always make sure, every opening brace has a corresponding
closing brace.
</p>
<h3>Variables</h3>
<p>
Variables are identifiers that work as placeholders. 
Crispy Plotter knows 3 variables with predefined meaning,
which cannot be modified:
<dl>
<dt>x</dt><dd>X is the function variable that is used for plotting.</dd>
<dt>pi</dt><dd>Pi is the mathematical constant &pi;.</dd>
<dt>e</dt><dd>E is the mathematical constant <i>e</i>.</dd>
</dl>
</p>
<p>
You can use parameters to quickly modify the behavior of a function while
not changing the function equation. See section
<?php printPageLink("parameters"); ?> for more details.
</p>
<h3>Functions</h3>
<p>
Crispy Plotter features many predefined functions, you can use in your
equations. See section <?php printPageLink("builtins"); ?> for a list
of supported functions.
</p>
<h3>Examples</h3>
<p>
Simple equations:<br />
<ul>
<li><span class="example">-2+3</span> = 1</li>
<li><span class="example">3.4*-3</span> = -10.2</li>
<li><span class="example">(2.5E-3 * 200)^2</span> =
(2.5 * 10<sup>-3</sup> * 200)<sup>2</sup> = 0.25</li>
<li>
<span class="example">2.5E-3 * 200^2</span> =
2.5 * 10<sup>-3</sup> * 40000 = 100</li>
</ul>
</p>
<p>
Equations with functions and constants:<br />
<ul>
<li><span class="example">sin(3/2 * pi)</span> = -1
	(sine at 1.5&pi;)</li>
<li><span class="example">cos(rad(45))^2</span> = 0.5
	(square of cosine at 45&deg;)</li>
<li><span class="example">ln(8)/ln(2)</span> = 3
	(binary logartihmn of 8)</li>
<li><span class="example">e^(ln(3)*2)</span> = 9
	(<i>e</i> raised to the power of the natural lograithm of 3 times 2)</li>	
</ul>
</p>
<p>
Functions (check their graphs in Crispy Plotter)<br />
<ul>
<li><span class="example">x^2 - 2*x + 3</span> (polynomic function)</li>
<li><span class="example">sqrt(5-x^2)</span>(circle function)</li>
<li><span class="example">sinwav(x*500)*exp(-x*4)
	</span>(Listen to it with the WaveOut plug-in ;-))</li>
<li><span class="example">gauss(x, 0.5, 0)
	</span>(Normal distribution with mean &mu; = 0 and standard
	deviation &sigma; = 0.5)</li>
</p>